package com.mes.service.cb;

import java.util.List;

import javax.annotation.Resource;

import com.mes.entity.jy.Plandetail;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mes.dao.cb.CustomMapper;

/**
 * @ClassName:CustomServiceImpl
 * @Description:
 * @Author cb
 * @Date 2018年3月13日上午11:10:22
 * @version 1.0
 */
@Transactional
@Service
public class CustomServiceImpl implements CustomService{

	@Resource
	private CustomMapper customMapper;

	@Override
	public List<String> custom_list() {
		return customMapper.custom_list();
	}


	@Override
	public int countProductPlanDetail(String plannum) {
		return customMapper.countProductPlanDetail(plannum);
	}

	@Override
	public List<Plandetail> selectPlanDetail(String plannum) {
		return customMapper.selectPlanDetail(plannum);
	}
}
